package org.hyperzsoft;

import java.util.ArrayList;

import org.hyperzsoft.one.Team;

public class Constants {
	//TODO: Convert to string res?
	public static final String TIMESTAMP_FORMAT = "EEE MMM d, yyyy";
	
	//TODO: Convert to string res?
	public static final String VENUE_HOME = "home";
	public static final String VENUE_AWAY = "away";
	
	public static final int GET_STANDINGS = 0;
	public static final int GET_SCHEDULE = 1;
	
	public static final String PROXY_PWD = "H@xorz05";
	public static final String PROXY_UID = "siegleda";
	public static final int PROXY_PORT = 8080;
	public static final String PROXY_HOST = "internet2.can.eds.com";
	public static final String USER_AGENT = "Mozilla";
	
	public enum Venues {
		HOME (VENUE_HOME),
		AWAY (VENUE_AWAY);
		
		private Venues(String aTable) {
			//can't call super ctor here
			fTable = aTable;
		}
		
		final String value() {
			return fTable;
		}
		
		private final String fTable;
	}
	
	//TODO: Convert to string res
	public enum Division {ATL (0),SE (1),NE (2),NW (3),CEN (4),PAC (5);
		private Division(int aTable) {id = aTable;}
		
		final int value() {return id;}
		
		@Override
		public final String toString() {
			switch (id) {
				case 0: return "ATL";
				case 1: return "SE";
				case 2: return "NE";
				case 3: return "NW";
				case 4: return "CEN";
				case 5: return "PAC";
			}
			return null;
		}
		
		private final int id;
	}
}
